package com.elitecore.beans;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="tblpartneruser")
public class PartnerUser  implements Serializable
{
	@Id
	@Column(name="USERID")
	private long userId;
	
	@Column(name="LOGIN")
	private String login;
	
	@Column(name="PASSWORD")
	private String password;
	
	@Column(name="partnerId")
	private long partnerId;
	
	@Column(name="email")
	private String email;
	
	@Column(name="isRootUser")
	private int isRootUser;
	
	@Column(name="roleId")
	private long roleId;
	
	@Column(name="status")
	private int status;
	
	public long getUserId()
	{
		return this.userId; 
	}
	public void setUserId(long userId) 
	{
		this.userId = userId; 
	}
	public String getLogin() 
	{
		return this.login; 
	}
	public void setLogin(String login) 
	{
		this.login = login; 
	}
	public String getPassword() 
	{
		return this.password; 
	}
	public void setPassword(String password) 
	{
		this.password = password;
	}
	public long getPartnerId() {
		return partnerId;
	}
	public void setPartnerId(long partnerId) {
		this.partnerId = partnerId;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getIsRootUser() {
		return isRootUser;
	}
	public void setIsRootUser(int isRootUser) {
		this.isRootUser = isRootUser;
	}
	public long getRoleId() {
		return roleId;
	}
	public void setRoleId(long roleId) {
		this.roleId = roleId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
}